<!DOCTYPE html>
<!--[if IE 8]> <html lang="zh" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="zh" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="zxx">
<!--<![endif]-->
<!-- Begin Head -->

<head>
    <title>桂北体育馆后台管理系统</title>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="author" content="">
    <meta name="MobileOptimized" content="320">
    <!--Start Style -->
    <link rel="stylesheet" type="text/css" href="../../static/css/fonts.css">
    <link rel="stylesheet" type="text/css" href="../../static/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="../../static/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="../../static/css/icofont.min.css">
    <link rel="stylesheet" type="text/css" href="../../static/css/style.css">
</head>
<? session_start(); ?>
<body>
<div class="loader">
    <div class="spinner">
        <img src="../../static/picture/loader.gif" alt="">
    </div>
</div>
<!-- Main Body -->
<div class="page-wrapper">
    <!-- Header Start -->
    <header class="header-wrapper main-header">
        <div class="header-inner-wrapper">
            <div class="logo-wrapper">
                <a href="" class="admin-logo">
                    <img src="../../static/picture/logo.png" alt="">
                </a>
            </div>
            <div class="header-right">
                <div class="header-left">
                    <div class="header-links">
                        <a href="javascript:void(0);" class="toggle-btn">
                            <span></span>
                        </a>
                    </div>
                </div>
                <div class="header-controls">
                    <!--头像-->
                    <div class="user-info-wrapper header-links">
                        <a href="../public/personInfo.php?action=editPicInfo" class="user-info">
                            <? if(!empty($_SESSION['loginPic'])){ ?>
                            <img src="../../uploads/userpic/<?=$_SESSION['loginPic'] ?>" alt="" class="user-img" ;">
                            <?}else{ ?>
                            <img alt="" class="user-img" style="background-color:<?=$_SESSION['picolor'] ?> ;">
                            <?} ?>
                        </a>
                    </div>
                    <!--信息-->
                    <div>
                        <h4><?=$_SESSION['loginName'] ?></h4>
                        <p><?=$_SESSION['loginId'] ?> | <?=$_SESSION['loginIden'] ?></p>
                    </div>
                    <!--消息-->

                    <div class="notification-wrapper header-links">
                        <a href="../public/message.php?pagenow=1" title="消息中心" class=" <?=sizeof($_SESSION['loginUnReadMessInfo'])>0 ? 'notification-info' :'' ?>  ">
                                <span class="header-icon">
                                    <svg enable-background="new 0 0 512 512" viewbox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m450.201 407.453c-1.505-.977-12.832-8.912-24.174-32.917-20.829-44.082-25.201-106.18-25.201-150.511 0-.193-.004-.384-.011-.576-.227-58.589-35.31-109.095-85.514-131.756v-34.657c0-31.45-25.544-57.036-56.942-57.036h-4.719c-31.398 0-56.942 25.586-56.942 57.036v34.655c-50.372 22.734-85.525 73.498-85.525 132.334 0 44.331-4.372 106.428-25.201 150.511-11.341 24.004-22.668 31.939-24.174 32.917-6.342 2.935-9.469 9.715-8.01 16.586 1.473 6.939 7.959 11.723 15.042 11.723h109.947c.614 42.141 35.008 76.238 77.223 76.238s76.609-34.097 77.223-76.238h109.947c7.082 0 13.569-4.784 15.042-11.723 1.457-6.871-1.669-13.652-8.011-16.586zm-223.502-350.417c0-14.881 12.086-26.987 26.942-26.987h4.719c14.856 0 26.942 12.106 26.942 26.987v24.917c-9.468-1.957-19.269-2.987-29.306-2.987-10.034 0-19.832 1.029-29.296 2.984v-24.914zm29.301 424.915c-25.673 0-46.614-20.617-47.223-46.188h94.445c-.608 25.57-21.549 46.188-47.222 46.188zm60.4-76.239c-.003 0-213.385 0-213.385 0 2.595-4.044 5.236-8.623 7.861-13.798 20.104-39.643 30.298-96.129 30.298-167.889 0-63.417 51.509-115.01 114.821-115.01s114.821 51.593 114.821 115.06c0 .185.003.369.01.553.057 71.472 10.25 127.755 30.298 167.286 2.625 5.176 5.267 9.754 7.861 13.798z"></path></svg>
                                </span>
                            <span class="count-notification"></span>
                        </a>
                        <? if(sizeof($_SESSION['loginUnReadMessInfo'])>0){?>
                        <div class="recent-notification">
                            <div class="drop-down-header">
                                <h4>消息中心</h4>
                                <p>你有 <?=sizeof($_SESSION['loginUnReadMessInfo'])?> 条新消息未读</p>
                            </div>
                            <ul>
                                <? for($i=0;$i<sizeof($_SESSION['loginUnReadMessInfo']);++$i){ if($i>1) break; ?>
                                <li>
                                    <a href="../public/browsemess.php?messageID=<?=$_SESSION['loginUnReadMessInfo'][$i][0]?>">
                                        <!--<i class="far fa-exclamation-circle mr-2"></i>-->
                                        <h5><i class="fas fa-envelope mr-2"></i>来自 <?=$_SESSION['loginUnReadMessInfo'][$i][8]?> 的消息</h5>
                                        <p>主题：<?=$_SESSION['loginUnReadMessInfo'][$i][1]?></p>
                                    </a>
                                </li>
                                <?}?>
                            </ul>
                            <div class="drop-down-footer">
                                <a href="../public/message.php?pagenow=1&filter=unread" class="btn sm-btn">
                                    查看更多
                                </a>
                            </div>
                        </div>
                        <?}?>
                    </div>

                    <!--登出-->
                    <div class="notification-wrapper header-links">
                        <a onclick="confirmLogin()" href="javascript:void(0);">
                                <span class="header-icon" style="font-size: 26px;">
                                    <i class="fas fa-sign-out-alt"></i>
                                </span>
                            <span class="count-notification"></span>
                        </a>
                    </div>

                </div>
            </div>
        </div>
    </header>
    <!-- Sidebar Start -->
    <aside class="sidebar-wrapper">
        <div class="side-menu-wrap">
            <ul class="main-menu">
                <li>
                    <a href="/model/admin/home.php" class="active">
                            <span class="icon-menu feather-icon">
                                <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>
                            </span>
                        <span class="menu-text">首页</span>
                    </a>
                </li>
                <li>
                    <a href="/model/public/personInfo.php" class="active">
                            <span class="icon-menu feather-icon">
                                <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>
                            </span>
                        <span class="menu-text">个人信息</span>
                    </a>
                </li>
                <li>
                    <a href="/model/public/message.php?pagenow=1" class="active">
                            <span class="icon-menu feather-icon">
                                 <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mail"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
                            </span>
                        <span class="menu-text">消息中心</span>
                    </a>
                </li>
                <li>
                    <a href="/model/public/userList.php?pagenow=1" class="active">
                            <span class="icon-menu feather-icon">
                                <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
                            </span>
                        <span class="menu-text">用户管理</span>
                    </a>
                </li>
                <li>
                    <a href="javascript:void(0);">
                            <span class="icon-menu feather-icon">
                                <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-send"><line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon></svg>
                            </span>
                        <span class="menu-text">公告管理</span>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a onclick="loginTips(false)" href="#">
                                <span class="icon-dash"></span>
                                <span class="menu-text">公告列表</span>
                            </a>
                        </li>
                        <li>
                            <a onclick="loginTips(false)" href="#">
                                <span class="icon-dash"></span>
                                <span class="menu-text">发布公告</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);">
                            <span class="icon-menu feather-icon">
                                <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-package"><line x1="16.5" y1="9.4" x2="7.5" y2="4.21"></line><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line></svg>
                            </span>
                        <span class="menu-text">器材管理</span>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a onclick="loginTips(false)" href="#"><span class="icon-dash"></span>
                                <span class="menu-text">器材列表</span>
                            </a>
                        </li>
                        <li>
                            <a onclick="loginTips(false)" href="#">
                                <span class="icon-dash"></span>
                                <span class="menu-text">添加器材</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:void(0);">
                            <span class="icon-menu feather-icon">
                                <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layers"><polygon points="12 2 2 7 12 12 22 7 12 2"></polygon><polyline points="2 17 12 22 22 17"></polyline><polyline points="2 12 12 17 22 12"></polyline></svg>
                            </span>
                        <span class="menu-text">场地管理</span>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a onclick="loginTips(false)" href="#">
                                <span class="icon-dash"></span>
                                <span class="menu-text">场地详情</span>
                            </a>
                        </li>
                        <li>
                            <a onclick="loginTips(false)" href="#">
                                <span class="icon-dash"></span>
                                <span class="menu-text">新增场地</span>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </aside>
    <!-- Container Start -->
    <div class="page-wrapper">
        <div class="main-content">
            <? require($routerUrl); ?>
            <? require '../../views/public/footer.html'; ?>
        </div>
    </div>
</div>


<!-- Script Start -->
<script src="../../static/js/jquery.min.js"></script>
<script src="../../static/js/popper.min.js"></script>
<script src="../../static/js/bootstrap.min.js"></script>
<script src="../../static/js/swiper.min.js"></script>
<script src="../../static/js/apexcharts.min.js"></script>
<script src="../../static/js/control-chart-apexcharts.js"></script>
<!-- Page Specific -->
<script src="../../static/js/nice-select.min.js"></script>
<!-- Custom Script -->
<script src="../../static/js/jquery.appear.js"></script>
<script src="../../static/js/jquery.countTo.js"></script>
<script src="../../static/js/custom.js"></script>
<!-- 操作提示 -->
<script src="../../static/js/JSFunc.js"></script>
</body>

</html>